From: Pavel Vasin Date: Wed, 13 Jun 2012 12:49:20 +0000 (+0400) Subject: shell-util: fix GFile leak X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6470 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=447246da741da9126aadb41c98a9179290bbcd86;p=gnome-shell.git shell-util: fix GFile leak https://bugzilla.gnome.org/show_bug.cgi?id=678079 --- diff --git a/src/shell-util.c b/src/shell-util.c index bd211f013..12f057283 100644 --- a/src/shell-util.c +++ b/src/shell-util.c @@ -96,6 +96,7 @@ shell_util_get_file_display_for_common_files (GFile *file) * nautilus */ return g_strdup (_("Home")); } + g_object_unref (compare); compare = g_file_new_for_path ("/"); if (g_file_equal (file, compare))